package ru.svi.bluetooth;

import android.graphics.AvoidXfermode;

public class Measure {
	private String name;
	private String unit;
	private double minValue;
	private double maxValue;
	private double lastValue;
	private double curValue;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public double getMinValue() {
		return minValue;
	}

	public void setMinValue(double minValue) {
		this.minValue = minValue;
	}

	public double getMaxValue() {
		return maxValue;
	}

	public void setMaxValue(double maxValue) {
		this.maxValue = maxValue;
	}

	public double getLastValue() {
		return lastValue;
	}

	public void setLastValue(double lastValue) {
		this.lastValue = lastValue;
	}

	public double getCurValue() {
		return curValue;
	}

	public void setCurValue(double curValue) {
		this.curValue = curValue;
	}

	@Override
	public String toString() {
		return "Name: " + name + ", Unit: " + unit + ", Value:" + curValue
				+ ", MinValue: " + minValue + ", MaxValue: " + maxValue
				+ ", LastValue:" + lastValue;
	}
}
